package com.hbx.mapper;

import com.hbx.model.UserRank;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hbx
 * @since 2022-01-15
 */
@Mapper
public interface UserRankMapper extends BaseMapper<UserRank> {

    /**
     * 给用户授衔
     * @param userId
     * @param ids
     * @return
     */
    Integer insertBatchs(@Param("userId") Integer userId, @Param("ids") List<Integer> ids);
}
